package com.crawler.crawler.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * Aibooks对象 books_aibooks
 * 
 * @author XUEH
 * @date 2020-10-14
 */
public class BooksAibooks
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 书名 */
    private String title;

    /** 分类 */
    private String type;

    /** 作者 */
    private String author;

    /** 出版社 */
    private String publisher;

    /** 出版时间 */
    private String publishTime;

    /** 标签 */
    private String tags;

    /** ISBN */
    private String isbn;

    /** 内容介绍 */
    private String content;

    /** 作者简介 */
    private String authorContent;

    /** 百度云 */
    private String baiduUrl;

    /** 百度提取码 */
    private String baiduCode;

    /** 蓝奏云 */
    private String lanzousUrl;

    /** 蓝奏云提取码 */
    private String lanzousCode;

    /** 百度是否存 */
    private Integer baiduIssave;

    /** 蓝奏云下载 */
    private Integer lanzousDown;

    /** URL */
    private String url;

    /** 页数 */
    private Long page;

    /** 是否有效 */
    private Integer isTrue;

    private Date createTime ;
    private String cover;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setPublisher(String publisher) 
    {
        this.publisher = publisher;
    }

    public String getPublisher() 
    {
        return publisher;
    }
    public void setPublishTime(String publishTime) 
    {
        this.publishTime = publishTime;
    }

    public String getPublishTime() 
    {
        return publishTime;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setIsbn(String isbn) 
    {
        this.isbn = isbn;
    }

    public String getIsbn() 
    {
        return isbn;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuthorContent(String authorContent) 
    {
        this.authorContent = authorContent;
    }

    public String getAuthorContent() 
    {
        return authorContent;
    }
    public void setBaiduUrl(String baiduUrl) 
    {
        this.baiduUrl = baiduUrl;
    }

    public String getBaiduUrl() 
    {
        return baiduUrl;
    }
    public void setBaiduCode(String baiduCode) 
    {
        this.baiduCode = baiduCode;
    }

    public String getBaiduCode() 
    {
        return baiduCode;
    }
    public void setLanzousUrl(String lanzousUrl) 
    {
        this.lanzousUrl = lanzousUrl;
    }

    public String getLanzousUrl() 
    {
        return lanzousUrl;
    }
    public void setLanzousCode(String lanzousCode) 
    {
        this.lanzousCode = lanzousCode;
    }

    public String getLanzousCode() 
    {
        return lanzousCode;
    }
    public void setBaiduIssave(Integer baiduIssave) 
    {
        this.baiduIssave = baiduIssave;
    }

    public Integer getBaiduIssave() 
    {
        return baiduIssave;
    }
    public void setLanzousDown(Integer lanzousDown) 
    {
        this.lanzousDown = lanzousDown;
    }

    public Integer getLanzousDown() 
    {
        return lanzousDown;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPage(Long page) 
    {
        this.page = page;
    }

    public Long getPage() 
    {
        return page;
    }
    public void setIsTrue(Integer isTrue) 
    {
        this.isTrue = isTrue;
    }

    public Integer getIsTrue() 
    {
        return isTrue;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("type", getType())
            .append("author", getAuthor())
            .append("publisher", getPublisher())
            .append("publishTime", getPublishTime())
            .append("tags", getTags())
            .append("isbn", getIsbn())
            .append("content", getContent())
            .append("authorContent", getAuthorContent())
            .append("baiduUrl", getBaiduUrl())
            .append("baiduCode", getBaiduCode())
            .append("lanzousUrl", getLanzousUrl())
            .append("lanzousCode", getLanzousCode())
            .append("baiduIssave", getBaiduIssave())
            .append("lanzousDown", getLanzousDown())
            .append("url", getUrl())
            .append("page", getPage())
            .append("isTrue", getIsTrue())
            .toString();
    }
}
